package com.ky.pro.java.rpc.core.config;

import com.ky.pro.java.rpc.core.util.http.NettyHttpClient;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName KyRpcConfiguration
 * @Description TODO
 * @Date 2022/1/1 15:09
 * @Author kevin
 **/
@Configuration
@EnableConfigurationProperties(KyRpcProperties.class)
public class KyRpcConfiguration {

    @Bean
    NettyHttpClient nettyHttpClient() {
        return new NettyHttpClient();
    }

}
